package com.sun.entity;

public class Phone{


    private String id;

    private User user;

    private String phoneNumber;

    private String comments;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments == null ? null : comments.trim();
    }

    @Override
    public String toString() {
        return "Phone{" +
                "user=" + user +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", comments='" + comments + '\'' +
                '}';
    }
}